package com.pair.micro.fee.modules.charge.service;

import com.pair.micro.common.mybatis.service.BaseService;
import com.pair.micro.common.utils.PageResult;
import com.pair.micro.fee.modules.charge.entity.ChargeProjectEntity;
import com.pair.micro.fee.modules.charge.entity.ChargeReceiveEntity;
import com.pair.micro.fee.modules.charge.entity.ChargeReceiveEntity;
import com.pair.micro.fee.modules.charge.entity.RoomOwnerEntity;
import com.pair.micro.fee.modules.charge.query.ChargeReceiveQuery;
import com.pair.micro.fee.modules.charge.vo.ChargeDetailVO;
import com.pair.micro.fee.modules.charge.vo.ChargeProjectVO;
import com.pair.micro.fee.modules.charge.vo.ChargeReceiveVO;

import java.util.List;

/**
 * 费用设置
 *
 * @author xubz
 */
public interface ChargeReceiveService extends BaseService<ChargeReceiveEntity> {

    PageResult<ChargeReceiveVO> page(ChargeReceiveQuery query);


    void save( List<ChargeProjectEntity> list, ChargeReceiveVO vo);

    void update(ChargeReceiveVO vo);

    void delete(List<Long> idList);

    List<ChargeProjectEntity> checkParams(ChargeReceiveVO vo);

    int getReceiveCount(ChargeDetailVO vo);
}
